'use strict';
/**
 * @author chenmin
 * @class  右侧面板组件===>话术设置===>添加按钮
 */

var React = require('react');

var wordsPanelBtn = React.createClass({
      getInitialState:function(){
            return {};
      },
      handlerAdd:function(){
            this.props.handlerAdd();
      },
      render: function() {
            return (
            	/* jshint ignore:start */
                              <a href="javascript:;" className="do-btn do-btn-block do-mb-md" onClick={this.handlerAdd}>
                                    <i className="fa fa-plus"></i>
                                    添加该分类下的话术
                              </a>
                        /* jshint ignore:end */
            );
   }
});

module.exports = wordsPanelBtn;